package com.hgw.Demo05_PrototypePattern.prototype;

/**
 * Data time:2021/12/12 17:01
 * StudentID:2019112118
 * Author:hgw
 * Description: 具体原型类
 */
public class Realizetype implements Cloneable{
    public Realizetype() {
        System.out.println("具体的原型对象创建完成！");
    }

    @Override
    protected Object clone() throws CloneNotSupportedException {
        System.out.println("具体原型复制成功！");
        return super.clone();
    }
}
